package com.example.analyzevisio.utis;

import com.example.analyzevisio.model.Body;



public class Json {
   public String addJson(String flowData) {
       Body body = new Body(flowData);

       StringBuilder stringBuilder = new StringBuilder();
       stringBuilder.append("{");
       stringBuilder.append(body.getSysHead());
       stringBuilder.append(",");
       stringBuilder.append(body.getFlowData());
       stringBuilder.append(",");
       stringBuilder.append(body.getNodeInfo());

       return String.valueOf(stringBuilder);
   }

}
